import App from './App'

// #ifndef VUE3
import Vue from 'vue'
import music from '@/common/common.js'
Vue.config.productionTip = false
Vue.prototype.$music = music
// Vue.prototype.$bgm = uni.createInnerAudioContext();
// this.$bgm.src = 'https://7463-tcb-sdkduwme739351-5dop4e9a08475-1304347316.tcb.qcloud.la/bgm.mp3';
App.mpType = 'app'

const app = new Vue({
	...App
})
app.$mount()
// #endif

// #ifdef VUE3
import {
	createSSRApp
} from 'vue'
export function createApp() {
	const app = createSSRApp(App)
	return {
		app
	}
}
// #endif
